﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HanGu.Entity
{
   public class CurrentUserDTO
    {
       public Manager CurrentUserInfo { get; set; }
       public List<VRolePurview> Roles { get; set; }
       public MemberInfo CurrentMemberInfo { get; set; }
       /// <summary>
       /// 子用户
       /// </summary>
       public List<Manager> SubManager { get; set; }
       private string _UserName = string.Empty;
       public string UserName
       {
           get
           {
               if (CurrentUserInfo != null) _UserName = CurrentUserInfo.RealName +CurrentUserInfo.User;
               return _UserName;
           }
           set { _UserName = value; }
       }
    }
}
